package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    List<Customer> selectPage(@Param("index") Integer index, @Param("rows") Integer rows, @Param("customerName")String customerName);

    Integer selectCount(@Param("customerName")String customerName);

    void insert(Customer customer);

    void update(Customer customer);

    void delete(String[] idsArr);

}
